package cn.blog.entity;

import java.util.ArrayList;
import java.util.List;

public class MatchPKInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MatchPKInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPkidIsNull() {
            addCriterion("pkId is null");
            return (Criteria) this;
        }

        public Criteria andPkidIsNotNull() {
            addCriterion("pkId is not null");
            return (Criteria) this;
        }

        public Criteria andPkidEqualTo(String value) {
            addCriterion("pkId =", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidNotEqualTo(String value) {
            addCriterion("pkId <>", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidGreaterThan(String value) {
            addCriterion("pkId >", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidGreaterThanOrEqualTo(String value) {
            addCriterion("pkId >=", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidLessThan(String value) {
            addCriterion("pkId <", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidLessThanOrEqualTo(String value) {
            addCriterion("pkId <=", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidLike(String value) {
            addCriterion("pkId like", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidNotLike(String value) {
            addCriterion("pkId not like", value, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidIn(List<String> values) {
            addCriterion("pkId in", values, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidNotIn(List<String> values) {
            addCriterion("pkId not in", values, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidBetween(String value1, String value2) {
            addCriterion("pkId between", value1, value2, "pkid");
            return (Criteria) this;
        }

        public Criteria andPkidNotBetween(String value1, String value2) {
            addCriterion("pkId not between", value1, value2, "pkid");
            return (Criteria) this;
        }

        public Criteria andMatchidIsNull() {
            addCriterion("matchId is null");
            return (Criteria) this;
        }

        public Criteria andMatchidIsNotNull() {
            addCriterion("matchId is not null");
            return (Criteria) this;
        }

        public Criteria andMatchidEqualTo(String value) {
            addCriterion("matchId =", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidNotEqualTo(String value) {
            addCriterion("matchId <>", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidGreaterThan(String value) {
            addCriterion("matchId >", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidGreaterThanOrEqualTo(String value) {
            addCriterion("matchId >=", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidLessThan(String value) {
            addCriterion("matchId <", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidLessThanOrEqualTo(String value) {
            addCriterion("matchId <=", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidLike(String value) {
            addCriterion("matchId like", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidNotLike(String value) {
            addCriterion("matchId not like", value, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidIn(List<String> values) {
            addCriterion("matchId in", values, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidNotIn(List<String> values) {
            addCriterion("matchId not in", values, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidBetween(String value1, String value2) {
            addCriterion("matchId between", value1, value2, "matchid");
            return (Criteria) this;
        }

        public Criteria andMatchidNotBetween(String value1, String value2) {
            addCriterion("matchId not between", value1, value2, "matchid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridIsNull() {
            addCriterion("firstPlayerId is null");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridIsNotNull() {
            addCriterion("firstPlayerId is not null");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridEqualTo(String value) {
            addCriterion("firstPlayerId =", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridNotEqualTo(String value) {
            addCriterion("firstPlayerId <>", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridGreaterThan(String value) {
            addCriterion("firstPlayerId >", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridGreaterThanOrEqualTo(String value) {
            addCriterion("firstPlayerId >=", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridLessThan(String value) {
            addCriterion("firstPlayerId <", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridLessThanOrEqualTo(String value) {
            addCriterion("firstPlayerId <=", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridLike(String value) {
            addCriterion("firstPlayerId like", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridNotLike(String value) {
            addCriterion("firstPlayerId not like", value, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridIn(List<String> values) {
            addCriterion("firstPlayerId in", values, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridNotIn(List<String> values) {
            addCriterion("firstPlayerId not in", values, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridBetween(String value1, String value2) {
            addCriterion("firstPlayerId between", value1, value2, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstplayeridNotBetween(String value1, String value2) {
            addCriterion("firstPlayerId not between", value1, value2, "firstplayerid");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameIsNull() {
            addCriterion("firstSongName is null");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameIsNotNull() {
            addCriterion("firstSongName is not null");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameEqualTo(String value) {
            addCriterion("firstSongName =", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameNotEqualTo(String value) {
            addCriterion("firstSongName <>", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameGreaterThan(String value) {
            addCriterion("firstSongName >", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameGreaterThanOrEqualTo(String value) {
            addCriterion("firstSongName >=", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameLessThan(String value) {
            addCriterion("firstSongName <", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameLessThanOrEqualTo(String value) {
            addCriterion("firstSongName <=", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameLike(String value) {
            addCriterion("firstSongName like", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameNotLike(String value) {
            addCriterion("firstSongName not like", value, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameIn(List<String> values) {
            addCriterion("firstSongName in", values, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameNotIn(List<String> values) {
            addCriterion("firstSongName not in", values, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameBetween(String value1, String value2) {
            addCriterion("firstSongName between", value1, value2, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstsongnameNotBetween(String value1, String value2) {
            addCriterion("firstSongName not between", value1, value2, "firstsongname");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountIsNull() {
            addCriterion("firstTicketCount is null");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountIsNotNull() {
            addCriterion("firstTicketCount is not null");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountEqualTo(Integer value) {
            addCriterion("firstTicketCount =", value, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountNotEqualTo(Integer value) {
            addCriterion("firstTicketCount <>", value, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountGreaterThan(Integer value) {
            addCriterion("firstTicketCount >", value, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("firstTicketCount >=", value, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountLessThan(Integer value) {
            addCriterion("firstTicketCount <", value, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountLessThanOrEqualTo(Integer value) {
            addCriterion("firstTicketCount <=", value, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountIn(List<Integer> values) {
            addCriterion("firstTicketCount in", values, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountNotIn(List<Integer> values) {
            addCriterion("firstTicketCount not in", values, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountBetween(Integer value1, Integer value2) {
            addCriterion("firstTicketCount between", value1, value2, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstticketcountNotBetween(Integer value1, Integer value2) {
            addCriterion("firstTicketCount not between", value1, value2, "firstticketcount");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreIsNull() {
            addCriterion("firstNeedScore is null");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreIsNotNull() {
            addCriterion("firstNeedScore is not null");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreEqualTo(Float value) {
            addCriterion("firstNeedScore =", value, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreNotEqualTo(Float value) {
            addCriterion("firstNeedScore <>", value, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreGreaterThan(Float value) {
            addCriterion("firstNeedScore >", value, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreGreaterThanOrEqualTo(Float value) {
            addCriterion("firstNeedScore >=", value, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreLessThan(Float value) {
            addCriterion("firstNeedScore <", value, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreLessThanOrEqualTo(Float value) {
            addCriterion("firstNeedScore <=", value, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreIn(List<Float> values) {
            addCriterion("firstNeedScore in", values, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreNotIn(List<Float> values) {
            addCriterion("firstNeedScore not in", values, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreBetween(Float value1, Float value2) {
            addCriterion("firstNeedScore between", value1, value2, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstneedscoreNotBetween(Float value1, Float value2) {
            addCriterion("firstNeedScore not between", value1, value2, "firstneedscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreIsNull() {
            addCriterion("firstScore is null");
            return (Criteria) this;
        }

        public Criteria andFirstscoreIsNotNull() {
            addCriterion("firstScore is not null");
            return (Criteria) this;
        }

        public Criteria andFirstscoreEqualTo(Float value) {
            addCriterion("firstScore =", value, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreNotEqualTo(Float value) {
            addCriterion("firstScore <>", value, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreGreaterThan(Float value) {
            addCriterion("firstScore >", value, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreGreaterThanOrEqualTo(Float value) {
            addCriterion("firstScore >=", value, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreLessThan(Float value) {
            addCriterion("firstScore <", value, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreLessThanOrEqualTo(Float value) {
            addCriterion("firstScore <=", value, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreIn(List<Float> values) {
            addCriterion("firstScore in", values, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreNotIn(List<Float> values) {
            addCriterion("firstScore not in", values, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreBetween(Float value1, Float value2) {
            addCriterion("firstScore between", value1, value2, "firstscore");
            return (Criteria) this;
        }

        public Criteria andFirstscoreNotBetween(Float value1, Float value2) {
            addCriterion("firstScore not between", value1, value2, "firstscore");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridIsNull() {
            addCriterion("secondPlayerId is null");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridIsNotNull() {
            addCriterion("secondPlayerId is not null");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridEqualTo(String value) {
            addCriterion("secondPlayerId =", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridNotEqualTo(String value) {
            addCriterion("secondPlayerId <>", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridGreaterThan(String value) {
            addCriterion("secondPlayerId >", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridGreaterThanOrEqualTo(String value) {
            addCriterion("secondPlayerId >=", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridLessThan(String value) {
            addCriterion("secondPlayerId <", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridLessThanOrEqualTo(String value) {
            addCriterion("secondPlayerId <=", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridLike(String value) {
            addCriterion("secondPlayerId like", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridNotLike(String value) {
            addCriterion("secondPlayerId not like", value, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridIn(List<String> values) {
            addCriterion("secondPlayerId in", values, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridNotIn(List<String> values) {
            addCriterion("secondPlayerId not in", values, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridBetween(String value1, String value2) {
            addCriterion("secondPlayerId between", value1, value2, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondplayeridNotBetween(String value1, String value2) {
            addCriterion("secondPlayerId not between", value1, value2, "secondplayerid");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameIsNull() {
            addCriterion("secondSongName is null");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameIsNotNull() {
            addCriterion("secondSongName is not null");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameEqualTo(String value) {
            addCriterion("secondSongName =", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameNotEqualTo(String value) {
            addCriterion("secondSongName <>", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameGreaterThan(String value) {
            addCriterion("secondSongName >", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameGreaterThanOrEqualTo(String value) {
            addCriterion("secondSongName >=", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameLessThan(String value) {
            addCriterion("secondSongName <", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameLessThanOrEqualTo(String value) {
            addCriterion("secondSongName <=", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameLike(String value) {
            addCriterion("secondSongName like", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameNotLike(String value) {
            addCriterion("secondSongName not like", value, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameIn(List<String> values) {
            addCriterion("secondSongName in", values, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameNotIn(List<String> values) {
            addCriterion("secondSongName not in", values, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameBetween(String value1, String value2) {
            addCriterion("secondSongName between", value1, value2, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondsongnameNotBetween(String value1, String value2) {
            addCriterion("secondSongName not between", value1, value2, "secondsongname");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreIsNull() {
            addCriterion("secondNeedScore is null");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreIsNotNull() {
            addCriterion("secondNeedScore is not null");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreEqualTo(Float value) {
            addCriterion("secondNeedScore =", value, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreNotEqualTo(Float value) {
            addCriterion("secondNeedScore <>", value, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreGreaterThan(Float value) {
            addCriterion("secondNeedScore >", value, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreGreaterThanOrEqualTo(Float value) {
            addCriterion("secondNeedScore >=", value, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreLessThan(Float value) {
            addCriterion("secondNeedScore <", value, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreLessThanOrEqualTo(Float value) {
            addCriterion("secondNeedScore <=", value, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreIn(List<Float> values) {
            addCriterion("secondNeedScore in", values, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreNotIn(List<Float> values) {
            addCriterion("secondNeedScore not in", values, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreBetween(Float value1, Float value2) {
            addCriterion("secondNeedScore between", value1, value2, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondneedscoreNotBetween(Float value1, Float value2) {
            addCriterion("secondNeedScore not between", value1, value2, "secondneedscore");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountIsNull() {
            addCriterion("secondTicketCount is null");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountIsNotNull() {
            addCriterion("secondTicketCount is not null");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountEqualTo(Integer value) {
            addCriterion("secondTicketCount =", value, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountNotEqualTo(Integer value) {
            addCriterion("secondTicketCount <>", value, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountGreaterThan(Integer value) {
            addCriterion("secondTicketCount >", value, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("secondTicketCount >=", value, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountLessThan(Integer value) {
            addCriterion("secondTicketCount <", value, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountLessThanOrEqualTo(Integer value) {
            addCriterion("secondTicketCount <=", value, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountIn(List<Integer> values) {
            addCriterion("secondTicketCount in", values, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountNotIn(List<Integer> values) {
            addCriterion("secondTicketCount not in", values, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountBetween(Integer value1, Integer value2) {
            addCriterion("secondTicketCount between", value1, value2, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondticketcountNotBetween(Integer value1, Integer value2) {
            addCriterion("secondTicketCount not between", value1, value2, "secondticketcount");
            return (Criteria) this;
        }

        public Criteria andSecondscoreIsNull() {
            addCriterion("secondScore is null");
            return (Criteria) this;
        }

        public Criteria andSecondscoreIsNotNull() {
            addCriterion("secondScore is not null");
            return (Criteria) this;
        }

        public Criteria andSecondscoreEqualTo(Float value) {
            addCriterion("secondScore =", value, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreNotEqualTo(Float value) {
            addCriterion("secondScore <>", value, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreGreaterThan(Float value) {
            addCriterion("secondScore >", value, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreGreaterThanOrEqualTo(Float value) {
            addCriterion("secondScore >=", value, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreLessThan(Float value) {
            addCriterion("secondScore <", value, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreLessThanOrEqualTo(Float value) {
            addCriterion("secondScore <=", value, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreIn(List<Float> values) {
            addCriterion("secondScore in", values, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreNotIn(List<Float> values) {
            addCriterion("secondScore not in", values, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreBetween(Float value1, Float value2) {
            addCriterion("secondScore between", value1, value2, "secondscore");
            return (Criteria) this;
        }

        public Criteria andSecondscoreNotBetween(Float value1, Float value2) {
            addCriterion("secondScore not between", value1, value2, "secondscore");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}